/*
 * Core HTML Template
 *
 * @Author:     SonNH [sonnh@ownego.com]
 * @Copyright:  Copyright (C) 2013 www.ownego.com -- All rights reserved.
 */

/* =============== HTML DEFAULT =============== */
html, body {
    margin: 0;
    padding: 0;
    font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
     font-smoothing: antialiased;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}
p, pre, blockquote, form, dl, ul, ol, fieldset, address, table {
    padding: 0;
    margin: 5px 0 10px 0;
}
html {
    font-size: 100%;
}
/*** Default Display ***/
a:hover,
a:active {
    outline: 0;
}
a, a:active {
    text-decoration: none;
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -.5em;
}
sub {
    bottom: -.25em;
}
img {
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}
fieldset {
    padding: 10px;
}
small {
    font-size: .85em;
}
/*** Default Form Elems ***/
button, input, select, textarea {
    border: 0;
    margin: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: middle;
}
button, input {
    overflow: visible;
    line-height: normal;
}
textarea {
    overflow: auto;
    vertical-align: top;
}
/*** Default List Style ***/
ul li {
    padding: 0;
    margin: 0.3em 0 0.3em 1.6em;
}
ol li {
    padding: 0;
    margin: 0.3em 0 0.3em 2em;
}
/*** Default Typo ***/
h1 {
    font-size: 1.4em;
}
h2 {
    font-size: 2.85em;
}
h3 {
    font-size: 1.72em;
}
h4 {
    font-size: 1.1em;
}
h5, h6 {
    font-size: 1em;
    font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
    color: #444;
    font-weight: normal;
    margin: 10px 0 5px 0;
}
/*** Necessary Classes ***/
.clearfix:before,
.clearfix:after {
    height: 0;
    clear: both;
    font-size: 0;
    content: ".";
    display: block;
    visibility: hidden;
}
.clear,
.clearfix:after {
    clear: both;
    display: block;
}